From: Colin Walters Date: Thu, 23 Mar 2017 16:07:06 +0000 (-0400) Subject: cfg.mk: Add a syntax check for a redundant : in glnx_throw X-Git-Tag: archive/raspbian/2022.1-3+rpi1~1^2~4^2~39^2~36 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/%22bookmarks://%22%22/%22http:/www.example.com/cgi/%22https:/%22bookmarks:/%22%22?a=commitdiff_plain;h=f6255763fda0ecd8126bd5436ab25839ac59bb5e;p=ostree.git cfg.mk: Add a syntax check for a redundant : in glnx_throw This is going to be an easy bug to make when porting. Example spotted by jlebon in https://github.com/ostreedev/ostree/pull/752/files/435c2dc35c06218b8fe5b4ede0fe4f6cda535b45#diff-dbc2359685171239c4708f2a8f6aa921 Closes: #752 Approved by: jlebon --- diff --git a/cfg.mk b/cfg.mk index d6a5039d..b4ffaf5f 100644 --- a/cfg.mk +++ b/cfg.mk @@ -23,6 +23,10 @@ local-checks-to-skip = \ sc_prohibit_path_max_allocation \ sc_trailing_blank \ +sc_glnx_errno_prefix_colon: + @prohibit='\